package com.guigu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 后台员工表
 * </p>
 *
 * @author Mr.Zhang
 * @since 2025-03-12
 */
@Data
@TableName("sys_users")
public class SysUsers implements Serializable {

    private static final long serialVersionUID=1L;

    //@ApiModelProperty(value = "后台员工id，主键，自增")
      @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    //@ApiModelProperty(value = "员工姓名")
    private String name;

    //@ApiModelProperty(value = "后台登录帐号")
    private String loginName;

    //@ApiModelProperty(value = "后台登录密码")
    private String password;

    //@ApiModelProperty(value = "头像")
    private String avatarImg;

    //@ApiModelProperty(value = "手机号码")
    private String phone;

    //@ApiModelProperty(value = "是否锁定，0（未锁定）、1（锁定）")
    private Integer locked;

    //@ApiModelProperty(value = "是否删除，C001-1（未删除）、C001-2（已删除）")
    private String status;
}
